home *** CD-ROM | disk | FTP | other *** search
-
- > Oh dear.. replying to my own posts... but here it goes anyway:
-
- :)
-
- > I was thinking about this over the weekend, and there are one or two flaws
- > with the idea... its not quite as simple as I first thought! (as if
- > anything ever is!)
-
- I was thinking the same thing...
-
- > Problem 1:
-
- > If the point 10 meters away lies behind a wall, it will be in a different
- > room, which could be higher or lower than the current room. This would
- > screw things up a little :) So you'd have to bring the sample point closer
- > to the player if a wall is in the way...
-
- Yep...
-
- > Problem 2:
-
- > If you only sample 1 point, then the view could jump up and down horribly.
- > Imagine turning in a room, and scanning past a staircase. The view would
- > jump up when going past the staircase and back down again afterwards.
- > Urgh! Also, things such as pedestals would cause a problem - your view
- > would jump up when you move towards it... Double Urgh!
-
- > The best way around this is to sample a whole bunch of points in front of
- > the player, and average the results. I guess it won't make a huge CPU
- > burden as it only has to be done once per frame....
-
- Well, that would work, but it might not produce the desired results. For instance,
- if you were standing on a pillar, while trying to shoot a monster on another
- pillar, this system would have you looking at the ground all the time whether
- you liked it or not!
-
- > Let me know what you think....
-
- This is good for a landscape without 'holes' or tall buildings with smallish
- gaps between them, but Doom can do this so it probably won't work.
-
- If we want automatic look up/down on stairs, I think it would be easiest
- to just specify these zones on the map. This is how Quake manages it as far
- as I can see...
-
- To be honest, even Quake gets it wrong sometimes when left to it's own devices.
- You can be standing on a downward-angled ramp while trying to shoot something
- high up on a ledge, but the program wants to make you look down in the direction
- of the slope instead.
-
- Doug.
-
-
-
-